package com.ruoyi.whzj.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 直播预告对象 whzj_livenotice
 * 
 * @author ruoyi
 * @date 2020-10-27
 */
public class WhzjLivenotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 直播描述 */
    @Excel(name = "直播描述")
    private String liveDesc;

    /** 直播类型 */
    @Excel(name = "直播类型")
    private String liveType;

    /** 直播类型名称 */
    @Excel(name = "直播类型名称")
    private String typeName;

    /** 直播开始时间 */
    @Excel(name = "直播开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liveBegin;

    /** 直播持续时间（小时） */
    @Excel(name = "直播持续时间", readConverterExp = "小=时")
    private Integer liveTime;

    /** 是否首页曝光（0是1否） */
    @Excel(name = "是否首页曝光", readConverterExp = "0=是1否")
    private String isHomeshow;

    /**
     * 直播状态 0未开播  1直播中
     */
    private String liveStatus;

    private String kuaiId;

    private String headImg;

    private String userids;

    private int sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setLiveDesc(String liveDesc) 
    {
        this.liveDesc = liveDesc;
    }

    public String getLiveDesc() 
    {
        return liveDesc;
    }
    public void setLiveType(String liveType) 
    {
        this.liveType = liveType;
    }

    public String getLiveType() 
    {
        return liveType;
    }
    public void setLiveBegin(Date liveBegin) 
    {
        this.liveBegin = liveBegin;
    }

    public Date getLiveBegin() 
    {
        return liveBegin;
    }
    public void setLiveTime(Integer liveTime) 
    {
        this.liveTime = liveTime;
    }

    public Integer getLiveTime() 
    {
        return liveTime;
    }
    public void setIsHomeshow(String isHomeshow) 
    {
        this.isHomeshow = isHomeshow;
    }

    public String getIsHomeshow() 
    {
        return isHomeshow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("liveDesc", getLiveDesc())
            .append("liveType", getLiveType())
            .append("liveBegin", getLiveBegin())
            .append("liveTime", getLiveTime())
            .append("isHomeshow", getIsHomeshow())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getLiveStatus() {
        return liveStatus;
    }

    public void setLiveStatus(String liveStatus) {
        this.liveStatus = liveStatus;
    }

    public String getKuaiId() {
        return kuaiId;
    }

    public void setKuaiId(String kuaiId) {
        this.kuaiId = kuaiId;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getUserids() {
        return userids;
    }

    public void setUserids(String userids) {
        this.userids = userids;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
